package com.egg.auth.entity.role;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.egg.common.core.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @author east
 * @since 2023-07-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "auth_role_link_dept")
@ApiModel(value = "RoleLinkDept对象", description = "角色关联部门")
public class RoleLinkDept extends BaseEntity {


    @ApiModelProperty(value = "角色ID")
    @TableField(value = "role_id")
    private Long roleId;

    @ApiModelProperty(value = "部门ID")
    @TableField(value = "dept_id")
    private Long deptId;


}
